package com.hex.ds.hdtp.core.inf.data.transfer.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Package: com.hex.ds.hdtp.core.inf.data.transfer.po
 * @ClassName DataTransferListPo
 * @Description: 数据迁移清单-PO对象
 * @Author: wz.li
 * @Date 2023/8/17 16:57
 * @Version v2.0.2
 **/
@Data
@TableName(value = "tm_data_transfer_list")
public class DataTransferListPo implements Serializable {

    @TableId(value = "pk_id", type = IdType.ASSIGN_UUID)
    private String pkId;

    @TableField(value = "data_transfer_task_pk_id")
    private String dataTransferTaskPkId;

    @TableField(value = "table_transfer_list_pk_id")
    private String tableTransferListPkId;

    @TableField(value = "source_conn_pk_id")
    private String sourceConnPkId;

    @TableField(value = "source_database_name")
    private String sourceDatabaseName;

    @TableField(value = "source_table_name")
    private String sourceTableName;

    @TableField(value = "target_conn_pk_id")
    private String targetConnPkId;

    @TableField(value = "target_database_name")
    private String targetDatabaseName;

    @TableField(value = "target_table_name")
    private String targetTableName;

    @TableField(value = "where_condition")
    private String whereCondition;

}
